package com.cqwshzj.framework.exception.unchecked;/**
 * @Description:
 * @Auther: Huang Zhijin
 * @Version: 1.0.0
 * @Date: 2021/4/6 18:23
 */

/**
 *
 * 〈〉
 *
 * @author Huang Zhijin
 * @create 2021/4/6
 * @since 1.0.0
 */
public class JobFrameworkException extends RuntimeException{

	protected String jobId;

	public JobFrameworkException(String jobId) {
		this.jobId = jobId;
	}

	public JobFrameworkException(String message, String jobId) {
		super(message);
		this.jobId = jobId;
	}

	public JobFrameworkException(String message, Throwable cause) {
		super(message,cause);
	}

	public JobFrameworkException(String message, Throwable cause, String jobId) {
		super(message, cause);
		this.jobId = jobId;
	}

	public JobFrameworkException(Throwable cause, String jobId) {
		super(cause);
		this.jobId = jobId;
	}

	public JobFrameworkException(Throwable cause) {
		super(cause);
	}

	public JobFrameworkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, String jobId) {
		super(message, cause, enableSuppression, writableStackTrace);
		this.jobId = jobId;
	}

	public JobFrameworkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}


	//--------

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}
}
